/*
 * 
 * Libman
 * 
 * Daniel Kaufmann, Martin Lang, Simon Moosbrugger,
 * Stefan Mayer, Stephan Halbeisen
 * 
 */
package middleware.datacontainer.searchclient;

import java.io.Serializable;

/**
 * The Class ExemplarContainer.
 */
public class ExemplarContainer implements Serializable{
	
	/** The Constant serialVersionUID. */
	private static final long serialVersionUID = 7088398058584851867L;
	
	/** The id. */
	private Integer id;
	
	/** The invno. */
	private String invno;
	
	/** The loaned. */
	private Boolean loaned;
	
	/**
	 * Instantiates a new exemplar container.
	 * 
	 * @param id
	 *            the id
	 * @param invno
	 *            the invno
	 * @param loaned
	 *            the loaned
	 */
	public ExemplarContainer(Integer id, String invno, Boolean loaned){
		this.id = id;
		this.invno = invno;
		this.loaned = loaned;
	}
	
	/**
	 * Gets the id.
	 * 
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * Gets the invno.
	 * 
	 * @return the invno
	 */
	public String getInvno() {
		return invno;
	}

	/**
	 * Sets the loaned.
	 * 
	 * @param loaned
	 *            the new loaned
	 */
	public void setLoaned(Boolean loaned) {
		this.loaned = loaned;
	}

	/**
	 * Gets the loaned.
	 * 
	 * @return the loaned
	 */
	public Boolean getLoaned() {
		return loaned;
	}
}
